home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn RISC PD-CD 1
/
Acorn RISC PD-CD 1.iso
/
languages
/
dde
/
_pascals
/
_cstart
< prev
next >
Wrap
Text File
|
1992-04-01
|
2KB
|
52 lines
| > !Cstart
|----------------------------------------------------------
|
set clib$flag 0
RMensure SharedClibrary 3.50 set clib$flag 1
RMensure SharedClibrary 0 set clib$flag 0
if "<clib$flag>"="1" then Error !!! Old shared C library !!! An old version of the shared C library (clib) is resident in memory. See page 44-45 of the Acorn C manual.
unset clib$flag
|
| Set up the location for the C programming session
| -------------------------------------------------
|
Echo !Cstart procedure for getting started
Echo
|
adfs
Echo Advanced Disc Filing System selected
Echo
|
set c$loc :IDEDisc4.$
|
| * If your C system is installed on a hard disc, edit the above line to *
| * read 'set c$loc :4.$' *
|
| Install the shared C library (clib)
| -----------------------------------
|
RMensure SharedClibrary 3.50 RMload <c$loc>.!System.modules.clib
RMensure SharedClibrary 3.50 Error You need at least version 3.50 of the shared C library
Echo Version 3.50, or later, of the shared C library installed
|
| Install the floating point emulator
| -----------------------------------
|
RMensure FPEmulator 2.80 RMload <c$loc>.!System.modules.FPE280
RMensure FPEmulator 2.80 Error You need at least version 2.80 of the floating point emulator
Echo FPE 2.80 (or later) installed
Echo
|
| Select library directory and current directory
| ----------------------------------------------
|
LIB <c$loc>.C-Compiler.library
Echo <c$loc>.C-Compiler.Library set as the current library
DIR <c$loc>.!Pascals
Echo <c$loc>.!Pascals selected as the current directory
Echo
|
unset c$loc
Echo !Cstart procedure successfully completed
|